<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>设置不限ip时间段</title>
</head>
<body>

<div class="layui-fluid">
    <form method="post" action="" id="staff-setIp-form" lay-filter="staff-setIp-form">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">不限时间:</label>
                <div class="layui-input-inline">
                    <input type="text" lay-verify="start_time" name="start_time" id="start_time"
                           lay-filter="start_time"
                           placeholder="开始时间 yyyy-MM-dd"
                           autocomplete="off"
                           class="layui-input">
                </div>
                <div class="layui-form-mid">-</div>
                <div class="layui-input-inline">
                    <input type="text" name="end_time" id="end_time"
                           lay-filter="end_time"
                           placeholder="结束时间 yyyy-MM-dd"
                           lay-verify="required"
                           autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn" lay-submit="" lay-filter="staff-setIp-form-submit">保存</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="cancel">取消</button>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

<script type="text/javascript" th:inline="javascript">
    layui.config({
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        art_staffpermitdata_openIpLoginDateList: "/mc/staffpermitdata/zmn.art.staffpermitdata.openIpLoginDateList",
    }).use(['index', 'art_staffpermitdata_openIpLoginDateList']);
    let json = {
        staffName:[[${staffName}]],
        endTime:[[${endTime}]],
        startTime:[[${startTime}]]
    }
</script>
</body>
</html>